-- GENERATED SPELL FOR [Emilune Winterwind] --


function spell0_27930(pUnit, Event) --@Gryphon Taxi to Westguard Keep,n/a--
pUnit:FullCastSpellOnTarget(50028,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27930', 100, 1)
end

function Sorts_27930(pUnit, Event)
local choix_sorts_27930 = math.random(0, 0)
if choix_sorts_27930 == 0 then
pUnit:RegisterEvent('spell0_27930', 1, 1)
end
end

function mob27930_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27930', math.random(1500, 3000), 1)
end

function mob27930_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27930_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27930_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27930, 1, 'mob27930_Action')
RegisterUnitEvent(27930, 2, 'mob27930_Leave')
RegisterUnitEvent(27930, 3, 'mob27930_Kill')
RegisterUnitEvent(27930, 4, 'mob27930_Die')
